﻿using System.Collections.Generic;


namespace QAHelper.Common
{
    public static class MessageInventory
    {
        public static string[] CONSUMER_MANDATORY_FIELDS = { "FirstName", "LastName", "EmailAddress", "Password", "HomeZipCode", "BirthDate" };

        #region Common Fields
        public static string FirstNameRequired = "You must enter a first name.";
        public static string LastNameRequired = "You must enter a last name.";
        public static string EmailRequired = "You must enter an email address.";
        public static string PasswordRequired = "You must enter a password.";
        public const string ErrorMessageHeaderText = "Please fix red marked error(s).";
        #endregion

        #region Consumer Blank Field Expected Messages
        public static string Cons_HomeZipCodeRequired = "You must enter home zip code.";
        public static string Cons_DOBRequired = "You must select Birth Date.";
        #endregion

        #region Business Blank Field Expected Messages
        public static string Biz_RestaurantNameRequired = "You must enter the Restaurant Name";
        public static string Biz_AddressRequired = "You must enter the Address.";
        public static string Biz_CityRequired = "You must enter the City.";
        public static string Biz_StateRequired = "You must enter the State.";
        public static string Biz_ZipRequired = "You must enter the Zip.";
        #endregion

        

        #region Step 3 Messages
        public static string PrimaryCuisineType = "Please select Primary Cuisine Type.";
        public static string Attire = "Please select Attire option.";
        public static string AcceptCreditCard = "Please select Accept Credit option.";
        public static string PriceRange = "Please select Price Range.";
        public static string Deliver = "Please select Deliver option.";
        public static string TakeOut = "Please select Take-out option.";
        public static string TableService = "Please select Table service option.";
        public static string Reservations = "Please select Reservations option.";
        public static string Alcohol = "Please select Alcohol option.";
        #endregion

        public static KeyValuePair<string, string>[] Cons_Expected_Messages = { 
                                                            new KeyValuePair<string,string> ("FirstName",FirstNameRequired),
                                                            new KeyValuePair<string,string> ("LastName",LastNameRequired),
                                                            new KeyValuePair<string,string> ("EmailAddress",EmailRequired),
                                                            new KeyValuePair<string,string> ("Password",PasswordRequired),
                                                            new KeyValuePair<string,string> ("HomeZipCode",Cons_HomeZipCodeRequired),
                                                            new KeyValuePair<string,string> ("BirthDate",Cons_DOBRequired)
                                                           };
        public static KeyValuePair<string, string>[] Biz_Expected_Messages = {
                                                            new KeyValuePair<string,string> ("FirstName",FirstNameRequired),
                                                            new KeyValuePair<string,string> ("LastName",LastNameRequired),
                                                            new KeyValuePair<string,string> ("EmailAddress",EmailRequired),
                                                            new KeyValuePair<string,string> ("Password",PasswordRequired),
                                                            new KeyValuePair<string,string> ("RestaurantName",Biz_RestaurantNameRequired),
                                                            new KeyValuePair<string,string> ("AddressRequired",Biz_AddressRequired),
                                                            new KeyValuePair<string,string> ("CityRequired",Biz_CityRequired),
                                                            new KeyValuePair<string,string> ("StateRequired",Biz_StateRequired),
                                                            new KeyValuePair<string,string> ("ZipRequired",Biz_ZipRequired)
                                                           };

        public static KeyValuePair<string, string>[] Step3Messages = { 
                                                            new KeyValuePair<string,string> ("FirstName",FirstNameRequired),
                                                            new KeyValuePair<string,string> ("LastName",LastNameRequired),
                                                            new KeyValuePair<string,string> ("EmailAddress",EmailRequired),
                                                            new KeyValuePair<string,string> ("Password",PasswordRequired),
                                                            new KeyValuePair<string,string> ("HomeZipCode",Cons_HomeZipCodeRequired),
                                                            new KeyValuePair<string,string> ("BirthDate",Cons_DOBRequired)
                                                           };
    }

    public static class InvalidFieldValueMessages
    {
        #region Step 3
        public static string Capacity = "Capacity should be a positive whole number.";
        #endregion
    }


    public static class Step1Errors
    {
        #region Empty Messages
        public const string FirstNameEmptyErrorMessage = "First name cannot be empty.";
        public const string LastNameEmptyErrorMessage = "Last name cannot be empty.";
        public const string EmailEmptyErrorMessage = "Email address cannot be empty.";
        public const string ReenterEmailEmptyErrorMessage = "";
        public const string PasswordEmptyErrorMessage = "Password cannot be empty.";
        public const string ConfirmPasswordEmptyErrorMessage = "";
        public const string CaptchaEmptyErrorMessage = "Wrong text in CAPTCHA.";
        #endregion

        #region Mismatch Errors
        public const string EmailMismatchErrorMessage = "Email address and re-entered email address should be same.";
        public const string PasswordMismatchErrorMessage = "Password and confirm password should be same.";
        #endregion
    }

    public static class StepHeaderText
    {
        public static string Step1HeaderMessage = "Step 1 of 6: Enter Restaurant Operator Information";
        public static string Step2HeaderMessage = "Step 2 of 6: Enter Restaurant Information";
        public static string Step3HeaderMessage = "Step 3 of 6: Enter Restaurant Details";
        public static string Step4HeaderMessage = "Step 4 of 6: Upload Restaurant Photos";
        public static string Step6HeaderMessage = "Step 6 of 6: Review Information and Submit";
        public static string LoginHeaderMessage = "Please log in to your account below by entering your email and password. Forgot your password? Looking for the consumer website?";
    }

    public static class PopupHeaderText
    {
        public static string OtherCuisineTypeHeaderMessage = "Please select other cuisine types from the choices below that will be used to identify your restaurant’s secondary cuisine.";
        public static string RestaurantFeaturesHeaderMessage = "Please select the restaurant features from the choices below that accurately reflect your restaurant’s features.";
        public static string RestaurantMenuHeaderMessage = "Please select the \"Browse\" button to locate your menu on your computer. Click \"Upload\" to complete the menu upload process.";
    }

    public static class ButtonsName
    {
        public static string SaveButton = "SAVE & CONTINUE";
        public static string CancelButton = "CANCEL";
        public static string PreviousLink = "< PREVIOUS STEP";
        public static string RestaurantNeighborhoodButton = "Select Restaurant Neighborhood";
        public static string OtherCuisineButton = "Select Other Cuisines";
        public static string RestaurantFeaturesButton = "Select Restaurant Features";
        public static string RestaurantMenuUploadButton = "Upload Restaurnat Menu";
        public static string PreviewSubmitButton = "PREVIEW & SUBMIT";
        public static string SubmitButton = "Submit";
        public static string UploadButton = "Upload";
    }

    public static class Errors
    {
        public static string FileSize5MBError = "File size should not exceed 5MB";
    }
}